package com.gla.market.entity;

public class SearchBean {
    private Integer id;
    private String userId;
    private String keyword;
    private String time;

    public SearchBean(){

    }

    public SearchBean(Integer id,String userId,String keyword,String time){
        this.id = id;
        this.userId = userId;
        this.keyword = keyword;
        this.time = time;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getId() {
        return id;
    }

    public String getUserId() {
        return userId;
    }

    public String getKeyword() {
        return keyword;
    }

    public String getTime() {
        return time;
    }

    @Override
    public String toString() {
        return "SearchBean{" +
                "id=" + id +
                ", userId='" + userId + '\'' +
                ", keyword='" + keyword + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
